using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace BodySoundSimulator
{
    public partial class StarterForm : Form
    {
        #region Fields
        ApplicationMode mode;

        #endregion

        #region Properties
        internal ApplicationMode Mode
        {
            get { return mode; }
        }
        #endregion

        #region Constructors
        public StarterForm()
        {
            InitializeComponent();
        }
        #endregion

        #region UI event handlers
        private void btnPractise_Click(object sender, EventArgs e)
        {
            this.mode = ApplicationMode.Practicing;
            this.DialogResult = DialogResult.OK;
        }

        private void btnRecord_Click(object sender, EventArgs e)
        {
            this.mode = ApplicationMode.Recording;
            this.DialogResult = DialogResult.OK;
        }
        #endregion
    }
}